<?php

function my_mysql_connect(){
	$host=DB_HOST; // Host name
	$username=DB_USER; // Mysql username
	$password=DB_PASSWORD; // Mysql password
	$db_name=DB_NAME; // Database name
	mysql_connect("$host", "$username", "$password")or die("cannot connect");
	mysql_select_db("$db_name")or die("cannot select DB");
}

 ?>

